﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ClientWorkflowAssignmentCtrl.ascx.cs" 
Inherits="WebApplication.Finance.Controls.ClientWorkflowAssignmentCtrl" %>

<div style="margin:auto; margin-top:10px;">
	<asp:UpdatePanel runat="server" UpdateMode="Always">
	<ContentTemplate>
		<asp:GridView ID="gridAssignments" runat="server" AutoGenerateColumns="False" 
			HorizontalAlign="Center" DataKeyNames="AccountInvoiceStatusId" 
			GridLines="None" BorderStyle="None" CellPadding="4"
			Font-Names="Verdana" onrowdatabound="gridAssignments_RowDataBound">
		<Columns>
			<asp:BoundField DataField="StatusAsText" HeaderText="Invoice Status">
				<HeaderStyle HorizontalAlign="Left" />
				<ItemStyle HorizontalAlign="Left" Width="168px" Font-Bold="true" />
			</asp:BoundField>
			<asp:BoundField DataField="DefaultWorkflowName" HeaderText="Default Workflow" >
				<HeaderStyle HorizontalAlign="Left" />
				<ItemStyle HorizontalAlign="Left" Font-Size="12px" Width="200px" />
			</asp:BoundField>
			<asp:TemplateField HeaderText="Workflow">
				<HeaderStyle HorizontalAlign="Left" />
				<ItemTemplate>
					<asp:DropDownList ID="cboWorkflow" runat="server" Font-Size="12pt" Width="260px">
					</asp:DropDownList>
				</ItemTemplate>
			</asp:TemplateField>
			<asp:BoundField DataField="ModifiedAsText" HeaderText="Modified" >
				<HeaderStyle HorizontalAlign="Left" />
				<ItemStyle HorizontalAlign="Left" Font-Size="10px" Width="100px" Wrap="true" />
			</asp:BoundField>
		</Columns>
		<HeaderStyle Font-Size="12pt" Font-Bold="True" Font-Names="Arial"  HorizontalAlign="Left" />
		<RowStyle Font-Size="11pt" Font-Bold="False" Font-Names="Arial" CssClass="UnderlineBorder" />
		</asp:GridView>	
	</ContentTemplate>
	</asp:UpdatePanel>
</div>

